/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package prueba.view.html;

import prueba.view.html.body.tree.Div;
import prueba.view.html.body.Input;
import prueba.view.html.body.tree.table.Table;
import testes.MiBean;

/**
 *
 * @author HP_Propietario
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        HTMLFactory factory = HTMLFactory.getInstance();
        HTMLPage page = factory.getHTMLPage();

        HTMLBody hTMLBody = page.getHTMLBody();

        Div div = new Div("micontenido");
        Input input=new  Input();
        Object object=input.getContextCodeResolveView().getCommand();
        MiBean bean=(MiBean)object;
        Table table=new Table();


        div.setId("miid");
        div.setContent("micointedio");
        div.setClasse("miclase");
        hTMLBody.addElement(div);
        hTMLBody.addElement(table);
        page.print();

    }
}
